package com.toommi.refuse.common.enums;

/**
 * ..
 * 通用状态枚举
 *
 * @author yangg
 * @since 2019-07-24 10:44
 */
public enum CommonStatusEnum {
    /**
     * 状态枚举
     */
    NORMAL(0, "正常"),

    LOCK(1, "冻结"),

    DELETED(-1, "删除");


    private int code;

    private String note;

    public int getCode() {
        return code;
    }

    public String getNote() {
        return note;
    }

    CommonStatusEnum(int code, String note) {
        this.code = code;
        this.note = note;
    }}
